@import "./reset.css";

// 自定义 图片上传样式
.material-img{
	width:120px;
	height:120px;
	color: #999;
	justify-content: center;
	display: flex;
	flex-direction: row;
	position: relative;
	align-items: center;
	overflow: hidden;
	border-radius: 4px;
	.images{
		width:120px;
		height:120px;
		display: inline-block;
		overflow: hidden;
	}
	.item-selected{
		position: absolute;
		top: 0;
		left: 0;
		align-items: center;
		justify-content: center;
		display: flex;
		color: #fff;
		font-size: 28px;
		width:120px;
		height:120px;
		border-radius: 4px;
		background-color: rgba(0,0,0,.5);
		box-sizing: border-box;
	}
}

.material-upload{
  width:120px;
  height:120px;
  color: #999;
  justify-content: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 4px;
  border: 1px dashed hsla(0,0%,89.8%,.898039);
}

// 自定义 dialog 样式
// lum-dialog -- start
.lum-dialog-mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 35, 41, .3);
  overflow: hidden;
  border-bottom: 1px solid #f5eeee;
  display: flex;
  align-items: center;
  justify-content: center;

  .lum-dialog-box {
    min-width: 200px;
    min-height: 200px;
    background-color: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 8px 0 rgba(31, 35, 41, 0.2);
    margin: 0 10px;

    .container {
      height: 100%;
    }

    .header {
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #f5eeee;

      > p:first-child {
        text-indent: 20px;
      }

      .tools {
        height: 100%;
        width: 100px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 20px;

        i {
          font-size: 20px;
          cursor: pointer;
          margin-left: 8px;
        }
      }
    }

    .main {
      /deep/.el-input__inner {
        border-radius: 1px !important;
      }

      .submit-btn {
        border-radius: 2px;
        font-weight: 400;
      }
    }
    .footer {
      padding: 0;
      display: flex;
      width: 100%;
      display: flex;
      justify-content: center;
      flex-direction: row;
      align-items: center;
      border-top: 1px solid #f5eeee;
    }
  }
}

// lum-dialog -- end

.talk-notify {
  .el-notification__title {
    font-weight: 300;
    font-size: 16px;
    color: #f44336;
  }

  p {
    max-height: 65px;
    overflow: hidden;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-indent: -7px;
    word-break: break-all;
  }
}
